package com.itlong.cloud.service;

import com.itlong.cloud.POJO.PO.DeviceBusinessChangeLogPO;
import com.itlong.cloud.POJO.VO.MessageVO;

import java.util.List;

/**
 * <desc>
 *      云对讲设备服务管理接口
 * </desc>
 *
 * @createDate 2017-11-15.
 */
public interface ICloudIntercomOrdersService {
    /**
     * <desc>
     *     云对讲_批量保存设备端推送指令
     * </desc>
     * @param deviceBusinessChangeLogPOList
     * @return
     * @throws Exception
     * @author cuiduanwu
     * @createDate 2017-11-17
     */
    MessageVO saveDeviceBusinessChangeLogBatch(List<DeviceBusinessChangeLogPO> deviceBusinessChangeLogPOList) throws Exception;

    /**
     * <desc>
     *     根据房间ID查询对应的楼栋与单元ID
     * </desc>
     * @param roomId
     * @return
     * @author cuiduanwu
     * @createDate 2018-1-18
     */
    String deviceChangeLogGetBuildAndUnitIdByRoomId(String roomId);


}
